package trader.hibernate.dto;
// Generated Nov 9, 2012 4:30:38 PM by Hibernate Tools 3.2.1.GA


import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.UniqueConstraint;

/**
 * QualityReport generated by hbm2java
 */
@Entity
@Table(name="quality_report"
    ,catalog="wstrader"
    , uniqueConstraints = @UniqueConstraint(columnNames="ref_number") 
)
public class QualityReport  implements java.io.Serializable {


     private Integer id;
     private Character type;
     private String refNumber;
     private Date date;
     private Date time;
     private Byte status;
     private Float aboveSc20;
     private Float sc20;
     private Float sc19;
     private Float sc18;
     private Float sc17;
     private Float sc16;
     private Float sc15;
     private Float sc14;
     private Float sc13;
     private Float sc12;
     private Float belowSc12;
     private Float black;
     private Float broken;
     private Float blackBroken;
     private Float brown;
     private Float moisture;
     private Float oldCrop;
     private Float excelsa;
     private Float floater;
     private Float foreignMatter;
     private Float worm;
     private Float moldy;
     private String cupClass;
     private Integer sampleDtsId;
     private String remark;
     private Short userId;
     private Date completedDate;

    public QualityReport() {
    }

    public QualityReport(Character type, String refNumber, Date date, Date time, Byte status, Float aboveSc20, Float sc20, Float sc19, Float sc18, Float sc17, Float sc16, Float sc15, Float sc14, Float sc13, Float sc12, Float belowSc12, Float black, Float broken, Float blackBroken, Float brown, Float moisture, Float oldCrop, Float excelsa, Float floater, Float foreignMatter, Float worm, Float moldy, String cupClass, Integer sampleDtsId, String remark, Short userId, Date completedDate) {
       this.type = type;
       this.refNumber = refNumber;
       this.date = date;
       this.time = time;
       this.status = status;
       this.aboveSc20 = aboveSc20;
       this.sc20 = sc20;
       this.sc19 = sc19;
       this.sc18 = sc18;
       this.sc17 = sc17;
       this.sc16 = sc16;
       this.sc15 = sc15;
       this.sc14 = sc14;
       this.sc13 = sc13;
       this.sc12 = sc12;
       this.belowSc12 = belowSc12;
       this.black = black;
       this.broken = broken;
       this.blackBroken = blackBroken;
       this.brown = brown;
       this.moisture = moisture;
       this.oldCrop = oldCrop;
       this.excelsa = excelsa;
       this.floater = floater;
       this.foreignMatter = foreignMatter;
       this.worm = worm;
       this.moldy = moldy;
       this.cupClass = cupClass;
       this.sampleDtsId = sampleDtsId;
       this.remark = remark;
       this.userId = userId;
       this.completedDate = completedDate;
    }
   
     @Id @GeneratedValue(strategy=IDENTITY)
    
    @Column(name="id", unique=true, nullable=false)
    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    @Column(name="type", length=1)
    public Character getType() {
        return this.type;
    }
    
    public void setType(Character type) {
        this.type = type;
    }
    
    @Column(name="ref_number", unique=true, length=20)
    public String getRefNumber() {
        return this.refNumber;
    }
    
    public void setRefNumber(String refNumber) {
        this.refNumber = refNumber;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="date", length=10)
    public Date getDate() {
        return this.date;
    }
    
    public void setDate(Date date) {
        this.date = date;
    }
    @Temporal(TemporalType.TIME)
    @Column(name="time", length=8)
    public Date getTime() {
        return this.time;
    }
    
    public void setTime(Date time) {
        this.time = time;
    }
    
    @Column(name="status")
    public Byte getStatus() {
        return this.status;
    }
    
    public void setStatus(Byte status) {
        this.status = status;
    }
    
    @Column(name="above_sc20", precision=9, scale=3)
    public Float getAboveSc20() {
        return this.aboveSc20;
    }
    
    public void setAboveSc20(Float aboveSc20) {
        this.aboveSc20 = aboveSc20;
    }
    
    @Column(name="sc20", precision=9)
    public Float getSc20() {
        return this.sc20;
    }
    
    public void setSc20(Float sc20) {
        this.sc20 = sc20;
    }
    
    @Column(name="sc19", precision=9)
    public Float getSc19() {
        return this.sc19;
    }
    
    public void setSc19(Float sc19) {
        this.sc19 = sc19;
    }
    
    @Column(name="sc18", precision=9)
    public Float getSc18() {
        return this.sc18;
    }
    
    public void setSc18(Float sc18) {
        this.sc18 = sc18;
    }
    
    @Column(name="sc17", precision=9)
    public Float getSc17() {
        return this.sc17;
    }
    
    public void setSc17(Float sc17) {
        this.sc17 = sc17;
    }
    
    @Column(name="sc16", precision=9)
    public Float getSc16() {
        return this.sc16;
    }
    
    public void setSc16(Float sc16) {
        this.sc16 = sc16;
    }
    
    @Column(name="sc15", precision=9)
    public Float getSc15() {
        return this.sc15;
    }
    
    public void setSc15(Float sc15) {
        this.sc15 = sc15;
    }
    
    @Column(name="sc14", precision=9)
    public Float getSc14() {
        return this.sc14;
    }
    
    public void setSc14(Float sc14) {
        this.sc14 = sc14;
    }
    
    @Column(name="sc13", precision=9)
    public Float getSc13() {
        return this.sc13;
    }
    
    public void setSc13(Float sc13) {
        this.sc13 = sc13;
    }
    
    @Column(name="sc12", precision=9)
    public Float getSc12() {
        return this.sc12;
    }
    
    public void setSc12(Float sc12) {
        this.sc12 = sc12;
    }
    
    @Column(name="below_sc12", precision=9)
    public Float getBelowSc12() {
        return this.belowSc12;
    }
    
    public void setBelowSc12(Float belowSc12) {
        this.belowSc12 = belowSc12;
    }
    
    @Column(name="black", precision=9)
    public Float getBlack() {
        return this.black;
    }
    
    public void setBlack(Float black) {
        this.black = black;
    }
    
    @Column(name="broken", precision=9)
    public Float getBroken() {
        return this.broken;
    }
    
    public void setBroken(Float broken) {
        this.broken = broken;
    }
    
    @Column(name="black_broken", precision=9)
    public Float getBlackBroken() {
        return this.blackBroken;
    }
    
    public void setBlackBroken(Float blackBroken) {
        this.blackBroken = blackBroken;
    }
    
    @Column(name="brown", precision=9)
    public Float getBrown() {
        return this.brown;
    }
    
    public void setBrown(Float brown) {
        this.brown = brown;
    }
    
    @Column(name="moisture", precision=9)
    public Float getMoisture() {
        return this.moisture;
    }
    
    public void setMoisture(Float moisture) {
        this.moisture = moisture;
    }
    
    @Column(name="old_crop", precision=9)
    public Float getOldCrop() {
        return this.oldCrop;
    }
    
    public void setOldCrop(Float oldCrop) {
        this.oldCrop = oldCrop;
    }
    
    @Column(name="excelsa", precision=9)
    public Float getExcelsa() {
        return this.excelsa;
    }
    
    public void setExcelsa(Float excelsa) {
        this.excelsa = excelsa;
    }
    
    @Column(name="floater", precision=9)
    public Float getFloater() {
        return this.floater;
    }
    
    public void setFloater(Float floater) {
        this.floater = floater;
    }
    
    @Column(name="foreign_matter", precision=9)
    public Float getForeignMatter() {
        return this.foreignMatter;
    }
    
    public void setForeignMatter(Float foreignMatter) {
        this.foreignMatter = foreignMatter;
    }
    
    @Column(name="worm", precision=9)
    public Float getWorm() {
        return this.worm;
    }
    
    public void setWorm(Float worm) {
        this.worm = worm;
    }
    
    @Column(name="moldy", precision=9)
    public Float getMoldy() {
        return this.moldy;
    }
    
    public void setMoldy(Float moldy) {
        this.moldy = moldy;
    }
    
    @Column(name="cup_class", length=3)
    public String getCupClass() {
        return this.cupClass;
    }
    
    public void setCupClass(String cupClass) {
        this.cupClass = cupClass;
    }
    
    @Column(name="sample_dts_id")
    public Integer getSampleDtsId() {
        return this.sampleDtsId;
    }
    
    public void setSampleDtsId(Integer sampleDtsId) {
        this.sampleDtsId = sampleDtsId;
    }
    
    @Column(name="remark", length=65535)
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    @Column(name="user_id")
    public Short getUserId() {
        return this.userId;
    }
    
    public void setUserId(Short userId) {
        this.userId = userId;
    }
    @Temporal(TemporalType.DATE)
    @Column(name="completed_date", length=10)
    public Date getCompletedDate() {
        return this.completedDate;
    }
    
    public void setCompletedDate(Date completedDate) {
        this.completedDate = completedDate;
    }




}


